Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Dynamic loading of class libraries - Using an interface class
~Yoshi Asageroterings 5.Nov.02 02:12 PM a Web browser
Domino Designer 6.0 All Platforms


aka <<Early binding vs. late binding >>

Hi Bill,

You raised an interesting point I've long suffered from. Here's how I overcome it so far:

I'm using an interface class that describes services that concrete classes need to garrantee.

The following illustration is borrowed from Damien Katz excellent "DatabaseDesign" sample code in Notes.net Sandbox.

Say a "DbDesign" factory class contextually loads "xxxDbDesign" classes implementing "IDbDesign" contract interface. xxx stands for w16, w32, mac, solaris, etc...
in DbDesign: « Use "iDbDesign" ». DbDesign factory loads a single class i.o. many based on the operating system.
in xxxDbDesign: « Use "iDbDesign" ». Note all xxxDbDesign PRIVATE classes derive/inherit from PUBLIC iDbDesign.


Followed me ;-) if not drop me a note..




Lotusscript "optional-loading" of c... (~Chris Refreesk... 1.Nov.02)
. . RE: Lotusscript "optional-loading" ... (~Mary Chuaberg 1.Nov.02)
. . . . Thanks for that! (~Chris Refreesk... 2.Nov.02)
. . Dynamic loading of class libraries ... (~Yoshi Asagerot... 5.Nov.02)
. . Dynamic loading? How? (~Julia Lopnuade... 1.Jun.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS